<? $pre_link = "/"; 

if (isset($_COOKIE['email'])){
	$emaila = $_COOKIE['email'];
}else{
	$emaila =  $_POST['email'];
}
   
 $page_header = ucwords($page);   
 include "config_results.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!-- uncomment to add favicon
<link rel="shortcut icon" href="/images/logo.ico" />
-->

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="description" content="A very light and easy to use PHP Template system." />
<meta name="keywords" content="jon, lee, subpages, php" />
<meta name="language" content="en" />
<title>subPages | light templates | <?php echo $page_header?></title>
<script type="text/javascript" src="js/site.js"></script>
<?php
if($jquery==1){
echo '<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.2.6.js"></script>';
}
?>
<link rel="stylesheet" type="text/css" media="screen" href="/css/base.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/style.css" />

<!--[if IE 6]>
<link type="text/css" rel="stylesheet" href="/css/ie6only.css" />
<![endif]-->
<!--[if IE 7]>
<link type="text/css" rel="stylesheet" href="/css/ie7only.css" />
<![endif]-->

</head>

 <body id="page_<?=$page?>">

	<div id="container">